namespace TTEngine.Graphics
{
    //在ImageData的基础上多了轴偏移，和排版偏移
    public class SpriteData : ImageData
    {

        public SpriteData(int width, int height, ImageFormat type,
            int pivotX = 0, int pivotY = 0) : base(width, height, type)
        {
            this.PivotX = pivotX;
            this.PivotY = pivotY;
        }
        public int PivotX
        {
            get; private set;
        }
        public int PivotY
        {
            get; private set;
        }
    }


}
